Skip to content

Can use () instead of [] as Notch shows in http://i.imgur.com/XIXc4.jpg#6

Open
rayslava wants to merge 13 commits intoswetland:masterfrom
rayslava:master
Open

Can use () instead of [] as Notch shows in http://i.imgur.com/XIXc4.jpg#6
rayslava wants to merge 13 commits intoswetland:masterfrom
rayslava:master

Conversation

@rayslava
Copy link
Contributor

@rayslava rayslava commented Apr 6, 2012

I do know that this solution is not nice but adding new class of brackets would cause too much refactoring.
So [A) and (A] work too =)

Vyacheslav Barinov and others added 10 commits April 6, 2012 08:32
I do know that this solution is not nice but adding new class of brackets will cause too much refactoring.
So [A) and (A] work too =)
Seen in Notches latest screenshot http://i.imgur.com/Tq9ue.jpg

Note that colour printing in the program output does not work yet but the
facility is there.
Note however terminal colour output isn't finished.
@swetland
Copy link
Owner

swetland commented Apr 6, 2012

At some point I'm going to have to decide if I'm going to follow all of Notch's syntactic decisions or not (personally I prefer []s to ()s and much prefer [imm, reg] to [imm + reg] though I support both). () support is pretty harmless.

His use of "DAT" and "BOR" also strike me as really weird, but it's probably worth staying compatible with his syntax even if it's weird-looking to me. ^^

@rayslava
Copy link
Contributor Author

rayslava commented Apr 6, 2012

I think FASM syntax is the best from x86 assemblers — light and powerful. Why not to imitate it?

And "BOR" is frightening me too. My mind can't decrypt such strange mnemonic in a moment so I stumble every time seeing this instruction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants